<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        $type = I('get.type',0);
        $wgateid = I('get.wgateid','');
        $this->Redirect('Api/Api', array('type'=>$type,'wgateid'=>$wgateid), 0, '');
    }


    public function bindInfo(){

        $this->assign('sid',I('get.sid',0));
        $this->assign('uid',I('get.uid',0));
        $this->display();

    }
    public function bind(){
      $this->assign('wgateid',I('get.wgateid',''));
      $this->display();
    }
    public function home(){
      $this->display();
    }
    public function error(){
        $this->display();
    }
  }
